package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "competences")
@XmlType
public class Competences {

    private Collection<Competence>  competenceCollection;

    /**
     * @return the competenceCollection
     */
    @XmlElement(name="competence")
    public Collection<Competence> getCompetenceCollection() {
        return competenceCollection;
    }

    /**
     * @param competenceCollection the competenceCollection to set
     */
    public void setCompetenceCollection(
            Collection<Competence> competenceCollection) {
        this.competenceCollection = competenceCollection;
    }

}
